//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface NetManager : NSObject


+ (void)POSTFileWithParams:(NSMutableDictionary *)params withUrl:(NSString *)url header:(NSString *)header timeoutInterval:(CGFloat)timeoutInterval FileNetPath:(NSString *)name withFile:(NSData *)File success:(void (^)(id))success connectionFail:(void (^)(NSError * error))connectionFail animationFlag:(BOOL)animationFlag ;

+ (void)POSTDataWithParams:(NSMutableDictionary *)params withUrl:(NSString *)url header:(NSString *)header success:(void (^)(id object))success withAnimation:(BOOL)animationFlag connectionFail:(void (^)(NSError * error))connectionFail ;
+ (void)POST1DataWithParams:(NSMutableDictionary *)params withUrl:(NSString *)url header:(NSString *)header success:(void (^)(id object))success withAnimation:(BOOL)animationFlag ;

@end
